200
How can I align the column to the right
G2antt1->Columns->Add(L"Column")->Alignment = Exg2anttlib_tlb::AlignmentEnum::RightAlignment;
G2antt1->Items->AddItem(TVariant(0));
G2antt1->Items->AddItem(TVariant(1));

199
How do I change the column's caption
G2antt1->Columns->Add(L"Column")->Caption = L"new caption";

198
Can I change the visual effect, appearance for the anchor, hyperlink elements, in HTML captions, after the user clicks it
G2antt1->FormatAnchor[false] = L"<b><u><fgcolor=880000> </fgcolor></u></b>";
G2antt1->Columns->Add(L"Column");
Exg2anttlib_tlb::IItemsPtr var_Items = G2antt1->Items;
	var_Items->set_CellValueFormat(TVariant(var_Items->AddItem(TVariant("Just an <a1>anchor</a> element ..."))),TVariant(0),Exg2anttlib_tlb::ValueFormatEnum::exHTML);
Exg2anttlib_tlb::IItemsPtr var_Items1 = G2antt1->Items;
	var_Items1->set_CellValueFormat(TVariant(var_Items1->AddItem(TVariant("Just another <a2>anchor</a> element ..."))),TVariant(0),Exg2anttlib_tlb::ValueFormatEnum::exHTML);
G2antt1->Items->AddItem(TVariant("next item"));

197
Can I change the visual effect, appearance for the anchor, hyperlink elements, in HTML captions
G2antt1->FormatAnchor[true] = L"<b><u><fgcolor=FF0000> </fgcolor></u></b>";
G2antt1->Columns->Add(L"Column");
Exg2anttlib_tlb::IItemsPtr var_Items = G2antt1->Items;
	var_Items->set_CellValueFormat(TVariant(var_Items->AddItem(TVariant("Just an <a1>anchor</a> element ..."))),TVariant(0),Exg2anttlib_tlb::ValueFormatEnum::exHTML);
Exg2anttlib_tlb::IItemsPtr var_Items1 = G2antt1->Items;
	var_Items1->set_CellValueFormat(TVariant(var_Items1->AddItem(TVariant("Just another <a2>anchor</a> element ..."))),TVariant(0),Exg2anttlib_tlb::ValueFormatEnum::exHTML);

196
Can I change the font for the tooltip
G2antt1->ToolTipDelay = 1;
G2antt1->ToolTipWidth = 364;
G2antt1->Columns->Add(L"tootip")->ToolTip = L"<br><font Tahoma;14>this</font> is a tooltip assigned to a column<br>";

195
Can I change the font for the tooltip
G2antt1->ToolTipDelay = 1;
/*
	Select the Component\Import Component...\Import a Type Library,
	to import the following Type Library:

		OLE Automation

	TypeLib: stdole2.tlb

	to define the namespace: Stdole_tlb
*/
//#include "STDOLE_TLB.h"
Stdole_tlb::FontPtr var_StdFont = G2antt1->ToolTipFont;
	var_StdFont->Name = L"Tahoma";
	var_StdFont->Size = TVariant(long(14));
G2antt1->ToolTipWidth = 364;
G2antt1->Columns->Add(L"tootip")->ToolTip = L"this is a tooltip assigned to a column";

194
Can I change the order of the buttons in the scroll bar
G2antt1->ScrollOrderParts[Exg2anttlib_tlb::ScrollBarEnum::exHScroll] = L"t,l,r";
G2antt1->ScrollOrderParts[Exg2anttlib_tlb::ScrollBarEnum::exVScroll] = L"t,l,r";
G2antt1->ScrollBars = Exg2anttlib_tlb::ScrollBarsEnum::exDisableBoth;

193
The thumb size seems to be very small. Can I make it bigger
G2antt1->ColumnAutoResize = false;
G2antt1->Columns->Add(L"C1")->Width = 256;
G2antt1->Columns->Add(L"C2")->Width = 256;
G2antt1->Columns->Add(L"C3")->Width = 256;
G2antt1->ScrollThumbSize[Exg2anttlib_tlb::ScrollBarEnum::exHScroll] = 64;

192
How can I display my text on the scroll bar, using a different font
G2antt1->ScrollPartCaption[Exg2anttlib_tlb::ScrollBarEnum::exHScroll,Exg2anttlib_tlb::ScrollPartEnum::exThumbPart] = L"This is <s><font Tahoma;12> just </font></s> text";
G2antt1->ColumnAutoResize = false;
G2antt1->ScrollHeight = 20;
G2antt1->Columns->Add(L"C1")->Width = 256;
G2antt1->Columns->Add(L"C2")->Width = 256;
G2antt1->Columns->Add(L"C3")->Width = 256;

191
How can I display my text on the scroll bar, using a different font
G2antt1->ScrollPartCaption[Exg2anttlib_tlb::ScrollBarEnum::exHScroll,Exg2anttlib_tlb::ScrollPartEnum::exThumbPart] = L"This is just a text";
G2antt1->ScrollFont[Exg2anttlib_tlb::ScrollBarEnum::exHScroll]->Size = TVariant(long(12));
G2antt1->ColumnAutoResize = false;
G2antt1->ScrollHeight = 20;
G2antt1->Columns->Add(L"C1")->Width = 256;
G2antt1->Columns->Add(L"C2")->Width = 256;
G2antt1->Columns->Add(L"C3")->Width = 256;

190
How can I display my text on the scroll bar
G2antt1->ScrollPartCaption[Exg2anttlib_tlb::ScrollBarEnum::exHScroll,Exg2anttlib_tlb::ScrollPartEnum::exThumbPart] = L"this is just a text";
G2antt1->ColumnAutoResize = false;
G2antt1->Columns->Add(L"C1")->Width = 256;
G2antt1->Columns->Add(L"C2")->Width = 256;
G2antt1->Columns->Add(L"C3")->Width = 256;

189
How do I enlarge or change the size of the control's scrollbars
G2antt1->ScrollHeight = 18;
G2antt1->ScrollWidth = 18;
G2antt1->ScrollButtonWidth = 18;
G2antt1->ScrollButtonHeight = 18;
G2antt1->ScrollBars = Exg2anttlib_tlb::ScrollBarsEnum::exDisableBoth;

188
How do I assign a tooltip to a scrollbar
G2antt1->ScrollToolTip[Exg2anttlib_tlb::ScrollBarEnum::exHScroll] = L"This is a tooltip being shown when you click and drag the thumb in the horizontal scroll bar";
G2antt1->ColumnAutoResize = false;
G2antt1->Columns->Add(L"C1")->Width = 256;
G2antt1->Columns->Add(L"C2")->Width = 256;
G2antt1->Columns->Add(L"C3")->Width = 256;

187
How do I assign an icon to the button in the scrollbar
G2antt1->Images(TVariant(String("gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTq") +
"lVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m" +
"0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/y" +
"NAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA="));
G2antt1->ScrollPartVisible[Exg2anttlib_tlb::ScrollBarEnum::exHScroll,Exg2anttlib_tlb::ScrollPartEnum::exLeftB1Part] = true;
G2antt1->ScrollPartCaption[Exg2anttlib_tlb::ScrollBarEnum::exHScroll,Exg2anttlib_tlb::ScrollPartEnum::exLeftB1Part] = L"<img>1</img>";
G2antt1->ScrollHeight = 18;
G2antt1->ScrollButtonWidth = 18;
G2antt1->ScrollBars = Exg2anttlib_tlb::ScrollBarsEnum::exDisableNoHorizontal;

186
I need to add a button in the scroll bar. Is this possible
G2antt1->ScrollPartVisible[Exg2anttlib_tlb::ScrollBarEnum::exHScroll,Exg2anttlib_tlb::ScrollPartEnum::exLeftB1Part] = true;
G2antt1->ScrollPartCaption[Exg2anttlib_tlb::ScrollBarEnum::exHScroll,Exg2anttlib_tlb::ScrollPartEnum::exLeftB1Part] = L"1";
G2antt1->ScrollBars = Exg2anttlib_tlb::ScrollBarsEnum::exDisableNoHorizontal;

185
Can I display an additional buttons in the scroll bar
G2antt1->ScrollPartVisible[Exg2anttlib_tlb::ScrollBarEnum::exHScroll,Exg2anttlib_tlb::ScrollPartEnum::exLeftB1Part] = true;
G2antt1->ScrollPartVisible[Exg2anttlib_tlb::ScrollBarEnum::exHScroll,Exg2anttlib_tlb::ScrollPartEnum::exLeftB2Part] = true;
G2antt1->ScrollPartVisible[Exg2anttlib_tlb::ScrollBarEnum::exHScroll,Exg2anttlib_tlb::ScrollPartEnum::exRightB6Part] = true;
G2antt1->ScrollPartVisible[Exg2anttlib_tlb::ScrollBarEnum::exHScroll,Exg2anttlib_tlb::ScrollPartEnum::exRightB5Part] = true;
G2antt1->ScrollBars = Exg2anttlib_tlb::ScrollBarsEnum::exDisableNoHorizontal;

184
Can I display the picture aligned to the right, while the text aligned to the left
G2antt1->DefaultItemHeight = 48;
G2antt1->Columns->Add(L"C1");
Exg2anttlib_tlb::IItemsPtr var_Items = G2antt1->Items;
	TVariant s = TVariant(var_Items->get_SplitCell(TVariant(var_Items->AddItem(TVariant("Text"))),TVariant(0)));
	var_Items->set_CellPicture(TNoParam(),TVariant(s),G2antt1->ExecuteTemplate("loadpicture(`c:\\exontrol\\images\\zipdisk.gif`)"));
	var_Items->set_CellHAlignment(TNoParam(),TVariant(s),Exg2anttlib_tlb::AlignmentEnum::RightAlignment);

183
How can I display a custom size picture to a cell or item
G2antt1->DefaultItemHeight = 48;
G2antt1->Columns->Add(L"C1");
Exg2anttlib_tlb::IItemsPtr var_Items = G2antt1->Items;
	var_Items->set_CellPicture(TVariant(var_Items->AddItem(TVariant("Text"))),TVariant(0),G2antt1->ExecuteTemplate("loadpicture(`c:\\exontrol\\images\\zipdisk.gif`)"));

182
How can I display a multiple pictures to a cell or item
G2antt1->DefaultItemHeight = 48;
G2antt1->HTMLPicture[L"pic1"] = TVariant("c:\\exontrol\\images\\zipdisk.gif");
G2antt1->HTMLPicture[L"pic2"] = TVariant("c:\\exontrol\\images\\auction.gif");
G2antt1->Columns->Add(L"C1");
Exg2anttlib_tlb::IItemsPtr var_Items = G2antt1->Items;
	var_Items->set_CellValueFormat(TVariant(var_Items->AddItem(TVariant("<img>pic1</img> Text <img>pic2</img> another text ..."))),TVariant(0),Exg2anttlib_tlb::ValueFormatEnum::exHTML);

181
How do I change the column's foreground color for numbers between an interval - Range
Exg2anttlib_tlb::IConditionalFormatPtr var_ConditionalFormat = G2antt1->ConditionalFormats->Add(L"dbl(%0) >= 2 and dbl(%0) <= 10",TNoParam());
	var_ConditionalFormat->Bold = true;
	var_ConditionalFormat->ForeColor = RGB(255,0,0);
	var_ConditionalFormat->ApplyTo = Exg2anttlib_tlb::FormatApplyToEnum(0x1);
G2antt1->Columns->Add(L"N1");
G2antt1->Columns->Add(L"N2");
Exg2anttlib_tlb::IItemsPtr var_Items = G2antt1->Items;
	var_Items->set_CellValue(TVariant(var_Items->AddItem(TVariant(1))),TVariant(1),TVariant(2));
Exg2anttlib_tlb::IItemsPtr var_Items1 = G2antt1->Items;
	var_Items1->set_CellValue(TVariant(var_Items1->AddItem(TVariant(3))),TVariant(1),TVariant(3));
Exg2anttlib_tlb::IItemsPtr var_Items2 = G2antt1->Items;
	var_Items2->set_CellValue(TVariant(var_Items2->AddItem(TVariant(10))),TVariant(1),TVariant(11));
Exg2anttlib_tlb::IItemsPtr var_Items3 = G2antt1->Items;
	var_Items3->set_CellValue(TVariant(var_Items3->AddItem(TVariant(13))),TVariant(1),TVariant(31));
G2antt1->SearchColumnIndex = 1;

180
How do I change the item's foreground color for numbers between an interval - Range
G2antt1->ConditionalFormats->Add(L"dbl(%0) >= 2 and dbl(%0) <= 10",TNoParam())->ForeColor = RGB(255,0,0);
G2antt1->Columns->Add(L"Numbers");
G2antt1->Items->AddItem(TVariant(1));
G2antt1->Items->AddItem(TVariant(2));
G2antt1->Items->AddItem(TVariant(10));
G2antt1->Items->AddItem(TVariant(20));

179
How do I change the item's background color for numbers less than a value
G2antt1->ConditionalFormats->Add(L"dbl(%0) < 10",TNoParam())->BackColor = RGB(255,0,0);
G2antt1->Columns->Add(L"Numbers");
G2antt1->Items->AddItem(TVariant(1));
G2antt1->Items->AddItem(TVariant(2));
G2antt1->Items->AddItem(TVariant(10));
G2antt1->Items->AddItem(TVariant(20));

178
How do I underline the numbers greater than a value
G2antt1->ConditionalFormats->Add(L"dbl(%0) >= 10",TNoParam())->Underline = true;
G2antt1->Columns->Add(L"Numbers");
G2antt1->Items->AddItem(TVariant(1));
G2antt1->Items->AddItem(TVariant(2));
G2antt1->Items->AddItem(TVariant(10));
G2antt1->Items->AddItem(TVariant(20));

177
How do I highlight in italic the numbers greater than a value
G2antt1->ConditionalFormats->Add(L"dbl(%0) >= 10",TNoParam())->StrikeOut = true;
G2antt1->Columns->Add(L"Numbers");
G2antt1->Items->AddItem(TVariant(1));
G2antt1->Items->AddItem(TVariant(2));
G2antt1->Items->AddItem(TVariant(10));
G2antt1->Items->AddItem(TVariant(20));

176
How do I highlight in italic the numbers greater than a value
G2antt1->ConditionalFormats->Add(L"dbl(%0) >= 10",TNoParam())->Italic = true;
G2antt1->Columns->Add(L"Numbers");
G2antt1->Items->AddItem(TVariant(1));
G2antt1->Items->AddItem(TVariant(2));
G2antt1->Items->AddItem(TVariant(10));
G2antt1->Items->AddItem(TVariant(20));

175
How do I highlight in bold the numbers greater than a value
G2antt1->ConditionalFormats->Add(L"dbl(%0) >= 10",TNoParam())->Bold = true;
G2antt1->Columns->Add(L"Numbers");
G2antt1->Items->AddItem(TVariant(1));
G2antt1->Items->AddItem(TVariant(2));
G2antt1->Items->AddItem(TVariant(10));
G2antt1->Items->AddItem(TVariant(20));

174
Can I use your EBN files to change the visual appearance for +/- expand - collapse buttons

G2antt1->VisualAppearance->Add(1,TVariant("c:\\exontrol\\images\\normal.ebn"));
G2antt1->VisualAppearance->Add(2,TVariant("c:\\exontrol\\images\\pushed.ebn"));
G2antt1->LinesAtRoot = Exg2anttlib_tlb::LinesAtRootEnum::exGroupLinesAtRoot;
G2antt1->HasButtons = Exg2anttlib_tlb::ExpandButtonEnum::exCustom;
G2antt1->HasButtonsCustom[false] = 16777216;
G2antt1->HasButtonsCustom[true] = 33554432;
G2antt1->Columns->Add(L"Column");
Exg2anttlib_tlb::IItemsPtr var_Items = G2antt1->Items;
	long h = var_Items->AddItem(TVariant("Root 1"));
	var_Items->InsertItem(h,TNoParam(),TVariant("Child 1"));
	var_Items->InsertItem(h,TNoParam(),TVariant("Child 2"));
	var_Items->set_ExpandItem(h,true);
	h = var_Items->AddItem(TVariant("Root 2"));
	var_Items->InsertItem(h,TNoParam(),TVariant("Child"));

173
Can I use your EBN files to change the visual appearance for radio buttons

G2antt1->VisualAppearance->Add(1,TVariant("c:\\exontrol\\images\\normal.ebn"));
G2antt1->VisualAppearance->Add(2,TVariant("c:\\exontrol\\images\\pushed.ebn"));
G2antt1->RadioImage[false] = 16777216;
G2antt1->RadioImage[true] = 33554432;
G2antt1->Columns->Add(L"Radio")->set_Def(Exg2anttlib_tlb::DefColumnEnum::exCellHasRadioButton,TVariant(true));
Exg2anttlib_tlb::IItemsPtr var_Items = G2antt1->Items;
	var_Items->AddItem(TVariant("Radio 1"));
	var_Items->set_CellState(TVariant(var_Items->AddItem(TVariant("Radio 2"))),TVariant(0),1);
	var_Items->AddItem(TVariant("Radio 3"));

172
Can I use your EBN files to change the visual appearance for checkbox cells

G2antt1->VisualAppearance->Add(1,TVariant("c:\\exontrol\\images\\normal.ebn"));
G2antt1->VisualAppearance->Add(2,TVariant("c:\\exontrol\\images\\pushed.ebn"));
G2antt1->CheckImage[Exg2anttlib_tlb::CheckStateEnum::Unchecked] = 16777216;
G2antt1->CheckImage[Exg2anttlib_tlb::CheckStateEnum::Checked] = 33554432;
G2antt1->Columns->Add(L"Check")->set_Def(Exg2anttlib_tlb::DefColumnEnum::exCellHasCheckBox,TVariant(true));
Exg2anttlib_tlb::IItemsPtr var_Items = G2antt1->Items;
	var_Items->AddItem(TVariant("Check 1"));
	var_Items->set_CellState(TVariant(var_Items->AddItem(TVariant("Check 2"))),TVariant(0),1);

171
How do I change the visual aspect for thumb parts in the scroll bars, using EBN
G2antt1->BeginUpdate();
Exg2anttlib_tlb::IAppearancePtr var_Appearance = G2antt1->VisualAppearance;
	var_Appearance->Add(1,TVariant("c:\\exontrol\\images\\normal.ebn"));
	var_Appearance->Add(2,TVariant("c:\\exontrol\\images\\pushed.ebn"));
	var_Appearance->Add(3,TVariant("c:\\exontrol\\images\\hot.ebn"));
G2antt1->Background[Exg2anttlib_tlb::BackgroundPartEnum::exHSThumb] = 0x1000000;
G2antt1->Background[Exg2anttlib_tlb::BackgroundPartEnum::exHSThumbP] = 0x2000000;
G2antt1->Background[Exg2anttlib_tlb::BackgroundPartEnum::exHSThumbH] = 0x3000000;
G2antt1->Background[Exg2anttlib_tlb::BackgroundPartEnum::exVSThumb] = 0x1000000;
G2antt1->Background[Exg2anttlib_tlb::BackgroundPartEnum::exVSThumbP] = 0x2000000;
G2antt1->Background[Exg2anttlib_tlb::BackgroundPartEnum::exVSThumbH] = 0x3000000;
G2antt1->ScrollBars = Exg2anttlib_tlb::ScrollBarsEnum::exVScrollEmptySpace | Exg2anttlib_tlb::ScrollBarsEnum::exHScrollEmptySpace | Exg2anttlib_tlb::ScrollBarsEnum::exVScrollOnThumbRelease | Exg2anttlib_tlb::ScrollBarsEnum::exHScrollOnThumbRelease | Exg2anttlib_tlb::ScrollBarsEnum::exDisableBoth;
G2antt1->ScrollBySingleLine = true;
G2antt1->Columns->Add(L"Def");
Exg2anttlib_tlb::IItemsPtr var_Items = G2antt1->Items;
	var_Items->AddItem(TVariant(1));
	var_Items->AddItem(TVariant(2));
	var_Items->AddItem(TVariant(3));
G2antt1->EndUpdate();

170
How do I change the visual aspect only for the thumb in the scroll bar, using EBN
G2antt1->BeginUpdate();
Exg2anttlib_tlb::IAppearancePtr var_Appearance = G2antt1->VisualAppearance;
	var_Appearance->Add(1,TVariant("c:\\exontrol\\images\\normal.ebn"));
	var_Appearance->Add(2,TVariant("c:\\exontrol\\images\\pushed.ebn"));
	var_Appearance->Add(3,TVariant("c:\\exontrol\\images\\hot.ebn"));
G2antt1->Background[Exg2anttlib_tlb::BackgroundPartEnum::exHSThumb] = 0x1000000;
G2antt1->Background[Exg2anttlib_tlb::BackgroundPartEnum::exHSThumbP] = 0x2000000;
G2antt1->Background[Exg2anttlib_tlb::BackgroundPartEnum::exHSThumbH] = 0x3000000;
G2antt1->ScrollBars = Exg2anttlib_tlb::ScrollBarsEnum::exVScrollEmptySpace | Exg2anttlib_tlb::ScrollBarsEnum::exHScrollEmptySpace | Exg2anttlib_tlb::ScrollBarsEnum::exVScrollOnThumbRelease | Exg2anttlib_tlb::ScrollBarsEnum::exHScrollOnThumbRelease | Exg2anttlib_tlb::ScrollBarsEnum::exDisableBoth;
G2antt1->ScrollBySingleLine = true;
G2antt1->Columns->Add(L"Def");
Exg2anttlib_tlb::IItemsPtr var_Items = G2antt1->Items;
	var_Items->AddItem(TVariant(1));
	var_Items->AddItem(TVariant(2));
	var_Items->AddItem(TVariant(3));
G2antt1->EndUpdate();

169
I've seen that you can change the visual appearance for the scroll bar. How can I do that

G2antt1->VisualAppearance->Add(1,TVariant("c:\\exontrol\\images\\normal.ebn"));
G2antt1->VisualAppearance->Add(2,TVariant("c:\\exontrol\\images\\pushed.ebn"));
G2antt1->VisualAppearance->Add(3,TVariant("c:\\exontrol\\images\\hot.ebn"));
G2antt1->Background[Exg2anttlib_tlb::BackgroundPartEnum::exSBtn] = 0x1000000;
G2antt1->Background[Exg2anttlib_tlb::BackgroundPartEnum::exSBtnP] = 0x2000000;
G2antt1->Background[Exg2anttlib_tlb::BackgroundPartEnum::exSBtnH] = 0x3000000;
G2antt1->Background[Exg2anttlib_tlb::BackgroundPartEnum::exHSBack] = RGB(240,240,240);
G2antt1->Background[Exg2anttlib_tlb::BackgroundPartEnum::exVSBack] = RGB(240,240,240);
G2antt1->Background[Exg2anttlib_tlb::BackgroundPartEnum::exScrollSizeGrip] = RGB(240,240,240);
G2antt1->Columns->Add(L"S")->Width = 32;
G2antt1->Columns->Add(L"Level 1")->set_LevelKey(TVariant(1));
G2antt1->Columns->Add(L"Level 2")->set_LevelKey(TVariant(1));
G2antt1->Columns->Add(L"Level 3")->set_LevelKey(TVariant(1));
G2antt1->Columns->Add(L"E1")->Width = 32;
G2antt1->Columns->Add(L"E2")->Width = 32;
G2antt1->Columns->Add(L"E3")->Width = 32;
G2antt1->Columns->Add(L"E4")->Width = 32;
G2antt1->ColumnAutoResize = false;
G2antt1->ScrollBars = Exg2anttlib_tlb::ScrollBarsEnum::exDisableBoth;

168
Is there any option to highligth the column from the cursor - point

G2antt1->VisualAppearance->Add(1,TVariant("c:\\exontrol\\images\\normal.ebn"));
G2antt1->Background[Exg2anttlib_tlb::BackgroundPartEnum::exCursorHoverColumn] = 0x1000000;
G2antt1->Columns->Add(L"S")->Width = 32;
G2antt1->Columns->Add(L"Level 1")->set_LevelKey(TVariant(1));
G2antt1->Columns->Add(L"Level 2")->set_LevelKey(TVariant(1));
G2antt1->Columns->Add(L"Level 3")->set_LevelKey(TVariant(1));
G2antt1->Columns->Add(L"E1")->Width = 32;
G2antt1->Columns->Add(L"E2")->Width = 32;
G2antt1->Columns->Add(L"E3")->Width = 32;
G2antt1->Columns->Add(L"E4")->Width = 32;

167
How do I change the visual aspect of selected item in the drop down filter window, using your EBN technology

G2antt1->VisualAppearance->Add(1,TVariant("c:\\exontrol\\images\\normal.ebn"));
G2antt1->Background[Exg2anttlib_tlb::BackgroundPartEnum::exSelBackColorFilter] = 0x1000000;
G2antt1->Background[Exg2anttlib_tlb::BackgroundPartEnum::exSelForeColorFilter] = RGB(255,20,20);
G2antt1->Columns->Add(L"Filter")->DisplayFilterButton = true;

166
How do I change the visual aspect of the drop down calendar window, that shows up if I click the drop down filter button, using EBN

G2antt1->VisualAppearance->Add(1,TVariant("c:\\exontrol\\images\\normal.ebn"));
G2antt1->VisualAppearance->Add(2,TVariant("c:\\exontrol\\images\\pushed.ebn"));
G2antt1->Background[Exg2anttlib_tlb::BackgroundPartEnum::exDateHeader] = 0x1000000;
G2antt1->Background[Exg2anttlib_tlb::BackgroundPartEnum::exDateTodayUp] = 0x1000000;
G2antt1->Background[Exg2anttlib_tlb::BackgroundPartEnum::exDateTodayDown] = 0x2000000;
G2antt1->Background[Exg2anttlib_tlb::BackgroundPartEnum::exDateScrollThumb] = 0x1000000;
G2antt1->Background[Exg2anttlib_tlb::BackgroundPartEnum::exDateScrollRange] = RGB(230,230,230);
G2antt1->Background[Exg2anttlib_tlb::BackgroundPartEnum::exDateSeparatorBar] = RGB(230,230,230);
G2antt1->Background[Exg2anttlib_tlb::BackgroundPartEnum::exDateSelect] = 0x1000000;
Exg2anttlib_tlb::IColumnPtr var_Column = G2antt1->Columns->Add(L"Date");
	var_Column->FilterType = Exg2anttlib_tlb::FilterTypeEnum::exDate;
	var_Column->DisplayFilterButton = true;
	var_Column->DisplayFilterDate = true;

165
How do I change the visual aspect of the close button in the filter bar, using EBN

G2antt1->VisualAppearance->Add(1,TVariant("c:\\exontrol\\images\\normal.ebn"));
G2antt1->Background[Exg2anttlib_tlb::BackgroundPartEnum::exFooterFilterBarButton] = 0x1000000;
G2antt1->Columns->Add(L"Filter")->FilterType = Exg2anttlib_tlb::FilterTypeEnum::exBlanks;
G2antt1->ApplyFilter();

164
How do I change the visual aspect of buttons in the cell, using EBN

G2antt1->VisualAppearance->Add(1,TVariant("c:\\exontrol\\images\\normal.ebn"));
G2antt1->VisualAppearance->Add(2,TVariant("c:\\exontrol\\images\\pushed.ebn"));
G2antt1->Background[Exg2anttlib_tlb::BackgroundPartEnum::exCellButtonUp] = 0x1000000;
G2antt1->Background[Exg2anttlib_tlb::BackgroundPartEnum::exCellButtonDown] = 0x2000000;
G2antt1->SelForeColor = RGB(0,0,0);
G2antt1->ShowFocusRect = false;
G2antt1->Columns->Add(L"Column 1")->set_Def(Exg2anttlib_tlb::DefColumnEnum::exCellHasButton,TVariant(true));
G2antt1->Items->AddItem(TVariant("Button 1"));
G2antt1->Items->AddItem(TVariant("Button 2"));
G2antt1->Columns->Add(L"Column 2");

163
How do I change the visual aspect of the drop down filter button, using EBN

G2antt1->VisualAppearance->Add(1,TVariant("c:\\exontrol\\images\\normal.ebn"));
G2antt1->Background[Exg2anttlib_tlb::BackgroundPartEnum::exHeaderFilterBarButton] = 0x1000000;
G2antt1->Columns->Add(L"Filter")->DisplayFilterButton = true;

162
How do I enable resizing the columns at runtime
G2antt1->ColumnsAllowSizing = true;
G2antt1->MarkSearchColumn = false;
G2antt1->HeaderVisible = Exg2anttlib_tlb::HeaderVisibleEnum::exHeaderHidden;
G2antt1->Columns->Add(L"Column 1");
G2antt1->Columns->Add(L"Column 2");
G2antt1->DrawGridLines = Exg2anttlib_tlb::GridLinesEnum::exVLines;
Exg2anttlib_tlb::IItemsPtr var_Items = G2antt1->Items;
	var_Items->set_CellValue(TVariant(var_Items->AddItem(TVariant("Item 1"))),TVariant(1),TVariant("Sub Item 1"));
Exg2anttlib_tlb::IItemsPtr var_Items1 = G2antt1->Items;
	var_Items1->set_CellValue(TVariant(var_Items1->AddItem(TVariant("Item 2"))),TVariant(1),TVariant("Sub Item 2"));

161
How can I select the second inner column when spliting the cells
G2antt1->SelectColumnInner = 1;
G2antt1->FullRowSelect = Exg2anttlib_tlb::CellSelectEnum::exColumnSel;
G2antt1->DrawGridLines = Exg2anttlib_tlb::GridLinesEnum::exAllLines;
G2antt1->Columns->Add(L"Column");
Exg2anttlib_tlb::IItemsPtr var_Items = G2antt1->Items;
	var_Items->set_CellValue(TNoParam(),TVariant(var_Items->get_SplitCell(TVariant(var_Items->AddItem(TVariant("Split Cell 1.1"))),TVariant(0))),TVariant("Split Cell 2.1"));
	var_Items->set_CellValue(TNoParam(),TVariant(var_Items->get_SplitCell(TVariant(var_Items->AddItem(TVariant("Split Cell 1.2"))),TVariant(0))),TVariant("Split Cell 2.2"));
	var_Items->set_SelectItem(var_Items->FirstVisibleItem,true);

160
How can I sort by multiple columns

G2antt1->SingleSort = false;
G2antt1->Columns->Add(L"C1")->SortOrder = Exg2anttlib_tlb::SortOrderEnum::SortAscending;
G2antt1->Columns->Add(L"C2")->SortOrder = Exg2anttlib_tlb::SortOrderEnum::SortDescending;
G2antt1->Columns->Add(L"C3")->SortOrder = Exg2anttlib_tlb::SortOrderEnum::SortAscending;

159
How can I add several columns to control's sort bar
G2antt1->SortBarVisible = true;
G2antt1->SortBarColumnWidth = 48;
G2antt1->Columns->Add(L"C1")->SortOrder = Exg2anttlib_tlb::SortOrderEnum::SortAscending;
G2antt1->Columns->Add(L"C2")->SortOrder = Exg2anttlib_tlb::SortOrderEnum::SortDescending;

158
How can I change the width of the columns being displayed in the sort bar
G2antt1->SortBarVisible = true;
G2antt1->SortBarColumnWidth = 48;
G2antt1->Columns->Add(L"C1")->SortOrder = Exg2anttlib_tlb::SortOrderEnum::SortAscending;
G2antt1->Columns->Add(L"C2")->SortOrder = Exg2anttlib_tlb::SortOrderEnum::SortDescending;

157
How can I change the height of the sort bar's
G2antt1->SortBarVisible = true;
G2antt1->SortBarHeight = 48;

156
How can I change the sort bar's foreground color
G2antt1->SortBarVisible = true;
G2antt1->ForeColorSortBar = RGB(255,0,0);

155
How can I change the visual appearance of the control's sort bar, using EBN files

G2antt1->VisualAppearance->Add(1,TVariant("c:\\exontrol\\images\\normal.ebn"));
G2antt1->VisualAppearance->Add(2,TVariant("c:\\exontrol\\images\\pushed.ebn"));
G2antt1->SortBarVisible = true;
G2antt1->BackColorSortBar = 0x1000000;
G2antt1->BackColorSortBarCaption = 0x2000000;
G2antt1->Appearance = Exg2anttlib_tlb::AppearanceEnum::None2;

154
How can I change the sort bar's background color
G2antt1->SortBarVisible = true;
G2antt1->BackColorSortBar = RGB(255,0,0);
G2antt1->BackColorSortBarCaption = RGB(128,0,0);

153
How can I change the default caption being displayed in the control's sort bar
G2antt1->SortBarVisible = true;
G2antt1->SortBarCaption = L"new caption";

152
How can I show the locked / fixed items on the bottom side of the control
G2antt1->ShowLockedItems = true;
G2antt1->Columns->Add(L"Column");
Exg2anttlib_tlb::IItemsPtr var_Items = G2antt1->Items;
	var_Items->set_LockedItemCount(Exg2anttlib_tlb::VAlignmentEnum::exMiddle,2);
	var_Items->set_CellValue(TVariant(var_Items->get_LockedItem(Exg2anttlib_tlb::VAlignmentEnum::exMiddle,0)),TVariant(0),TVariant("locked item 1"));
	var_Items->set_CellValue(TVariant(var_Items->get_LockedItem(Exg2anttlib_tlb::VAlignmentEnum::exMiddle,1)),TVariant(0),TVariant("locked item 2"));
	var_Items->AddItem(TVariant("un-locked item"));

151
How can I show the locked / fixed items
G2antt1->ShowLockedItems = true;
G2antt1->Columns->Add(L"Column");
Exg2anttlib_tlb::IItemsPtr var_Items = G2antt1->Items;
	var_Items->set_LockedItemCount(Exg2anttlib_tlb::VAlignmentEnum::exTop,2);
	var_Items->set_CellValue(TVariant(var_Items->get_LockedItem(Exg2anttlib_tlb::VAlignmentEnum::exTop,0)),TVariant(0),TVariant("locked item 1"));
	var_Items->set_CellValue(TVariant(var_Items->get_LockedItem(Exg2anttlib_tlb::VAlignmentEnum::exTop,1)),TVariant(0),TVariant("locked item 2"));
	var_Items->AddItem(TVariant("un-locked item"));

150
How can I hide the locked / fixed items
G2antt1->ShowLockedItems = false;
G2antt1->Columns->Add(L"Column");
Exg2anttlib_tlb::IItemsPtr var_Items = G2antt1->Items;
	var_Items->set_LockedItemCount(Exg2anttlib_tlb::VAlignmentEnum::exTop,1);
	var_Items->set_CellValue(TVariant(var_Items->get_LockedItem(Exg2anttlib_tlb::VAlignmentEnum::exTop,0)),TVariant(0),TVariant("locked item"));
	var_Items->AddItem(TVariant("un-locked item"));

149
How can I show the control's sort bar
G2antt1->SortBarVisible = true;

148
How can I stretch a picture on the control's header, when multiple levels are displayed, so it is not tiled
G2antt1->PictureLevelHeader = (IPictureDisp*)(G2antt1->ExecuteTemplate("loadpicture(`c:\\exontrol\\images\\colorize.gif`)"));
G2antt1->PictureDisplayLevelHeader = Exg2anttlib_tlb::PictureDisplayEnum::Stretch;
G2antt1->Columns->Add(L"S")->Width = 32;
G2antt1->Columns->Add(L"Level 1")->set_LevelKey(TVariant(1));
G2antt1->Columns->Add(L"Level 2")->set_LevelKey(TVariant(1));
G2antt1->Columns->Add(L"Level 3")->set_LevelKey(TVariant(1));
G2antt1->Columns->Add(L"E1")->Width = 32;
G2antt1->Columns->Add(L"E2")->Width = 32;
G2antt1->Columns->Add(L"E3")->Width = 32;
G2antt1->Columns->Add(L"E4")->Width = 32;

147
How can I display a picture on the control's header, when multiple levels are displayed, so it is not tiled
G2antt1->PictureLevelHeader = (IPictureDisp*)(G2antt1->ExecuteTemplate("loadpicture(`c:\\exontrol\\images\\colorize.gif`)"));
G2antt1->PictureDisplayLevelHeader = Exg2anttlib_tlb::PictureDisplayEnum::MiddleRight;
G2antt1->Columns->Add(L"S")->Width = 32;
G2antt1->Columns->Add(L"Level 1")->set_LevelKey(TVariant(1));
G2antt1->Columns->Add(L"Level 2")->set_LevelKey(TVariant(1));
G2antt1->Columns->Add(L"Level 3")->set_LevelKey(TVariant(1));
G2antt1->Columns->Add(L"E")->Width = 32;

146
How can I display a picture on the control's header, when multiple levels are displayed

G2antt1->PictureLevelHeader = (IPictureDisp*)(G2antt1->ExecuteTemplate("loadpicture(`c:\\exontrol\\images\\zipdisk.gif`)"));
G2antt1->Columns->Add(L"S")->Width = 32;
G2antt1->Columns->Add(L"Level 1")->set_LevelKey(TVariant(1));
G2antt1->Columns->Add(L"Level 2")->set_LevelKey(TVariant(1));
G2antt1->Columns->Add(L"Level 3")->set_LevelKey(TVariant(1));

145
How can I change the header's background color, when multiple levels are displayed
G2antt1->BackColorLevelHeader = RGB(250,0,0);
G2antt1->Columns->Add(L"S")->Width = 32;
G2antt1->Columns->Add(L"Level 1")->set_LevelKey(TVariant(1));
G2antt1->Columns->Add(L"Level 2")->set_LevelKey(TVariant(1));
G2antt1->Columns->Add(L"Level 3")->set_LevelKey(TVariant(1));

144
Can I programmatically scroll the control
G2antt1->Columns->Add(L"Column");
G2antt1->Items->AddItem(TVariant(0));
G2antt1->Items->AddItem(TVariant(1));
G2antt1->Items->AddItem(TVariant(2));
G2antt1->Items->AddItem(TVariant(3));
G2antt1->PutItems(G2antt1->GetItems(TVariant(0)),TNoParam());
G2antt1->PutItems(G2antt1->GetItems(TVariant(0)),TNoParam());
G2antt1->ScrollPos[true] = 1;

143
How do I disable expanding or collapsing an item when user presses the arrow keys
G2antt1->ExpandOnKeys = false;
G2antt1->LinesAtRoot = Exg2anttlib_tlb::LinesAtRootEnum::exLinesAtRoot;
G2antt1->Columns->Add(L"Column 1");
Exg2anttlib_tlb::IItemsPtr var_Items = G2antt1->Items;
	long h = var_Items->AddItem(TVariant("Root"));
	var_Items->InsertItem(h,TNoParam(),TVariant("Child 1"));
	var_Items->InsertItem(h,TNoParam(),TVariant("Child 2"));
	var_Items->set_ExpandItem(h,true);

142
How do I expand automatically the items while user types characters to searching for something ( incremental searching )
G2antt1->ExpandOnSearch = true;
G2antt1->LinesAtRoot = Exg2anttlib_tlb::LinesAtRootEnum::exLinesAtRoot;
G2antt1->AutoSearch = true;
G2antt1->Columns->Add(L"Column")->AutoSearch = Exg2anttlib_tlb::AutoSearchEnum::exContains;
Exg2anttlib_tlb::IItemsPtr var_Items = G2antt1->Items;
	var_Items->InsertItem(var_Items->InsertItem(var_Items->AddItem(TVariant("text")),TNoParam(),TVariant("some text")),TNoParam(),TVariant("another text"));
	var_Items->InsertItem(var_Items->InsertItem(var_Items->AddItem(TVariant("text")),TNoParam(),TVariant("some text")),TNoParam(),TVariant("another text"));

141
Can I programmatically scroll the control
G2antt1->Columns->Add(L"Column");
G2antt1->Items->AddItem(TVariant(0));
G2antt1->Items->AddItem(TVariant(1));
G2antt1->Items->AddItem(TVariant(2));
G2antt1->Items->AddItem(TVariant(3));
G2antt1->PutItems(G2antt1->GetItems(TVariant(0)),TNoParam());
G2antt1->PutItems(G2antt1->GetItems(TVariant(0)),TNoParam());
G2antt1->Scroll(Exg2anttlib_tlb::ScrollEnum::exScrollDown,TNoParam());

140
Do you have some function to load data from a safe array
G2antt1->Columns->Add(L"Column");
G2antt1->Items->AddItem(TVariant(0));
G2antt1->PutItems(G2antt1->GetItems(TVariant(0)),TNoParam());

139
Do you have some function to retrieve all items to a safe array
G2antt1->Columns->Add(L"Column");
G2antt1->Items->AddItem(TVariant(0));
G2antt1->PutItems(G2antt1->GetItems(TVariant(0)),TNoParam());
G2antt1->Items->AddItem(TVariant(1));
G2antt1->PutItems(G2antt1->GetItems(TVariant(0)),TNoParam());
G2antt1->Items->AddItem(TVariant(2));
G2antt1->PutItems(G2antt1->GetItems(TVariant(0)),TNoParam());
G2antt1->Items->AddItem(TVariant(3));

138
How can still display the selected items when the control loses the focus
G2antt1->HideSelection = false;
G2antt1->Columns->Add(L"Column");
Exg2anttlib_tlb::IItemsPtr var_Items = G2antt1->Items;
	var_Items->AddItem(TVariant("Item 3"));
	var_Items->AddItem(TVariant("Item 1"));
	var_Items->set_SelectItem(var_Items->AddItem(TVariant("Item 2")),true);

137
How can I hide a column
G2antt1->Columns->Add(L"Hidden")->Visible = false;
G2antt1->Columns->Add(L"2");
G2antt1->Columns->Add(L"3");
G2antt1->Columns->Add(L"4");
G2antt1->Columns->Add(L"5");

136
How can I ensure that a column is visible and fits the control's client area
G2antt1->ColumnAutoResize = false;
G2antt1->Columns->Add(L"1")->Width = 128;
G2antt1->Columns->Add(L"2")->Width = 128;
G2antt1->Columns->Add(L"3")->Width = 128;
G2antt1->Columns->Add(L"4")->Width = 128;
G2antt1->Columns->Add(L"5")->Width = 128;
G2antt1->EnsureVisibleColumn(TVariant("5"));

135
I've seen that the width of the tooltip is variable. Can I make it larger
G2antt1->ToolTipWidth = 328;
G2antt1->Columns->Add(L"tootip")->ToolTip = L"this is a tooltip that should be very very very very very very very long";

134
How do I disable showing the tooltip for all control
G2antt1->ToolTipDelay = 0;
G2antt1->Columns->Add(L"tootip")->ToolTip = L"this is a tooltip assigned to a column";

133
How do I let the tooltip being displayed longer
G2antt1->ToolTipPopDelay = 10000;
G2antt1->Columns->Add(L"tootip")->ToolTip = L"this is a tooltip assigned to a column";

132
How do I show the tooltip quicker
G2antt1->ToolTipDelay = 1;
G2antt1->Columns->Add(L"tootip")->ToolTip = L"this is a tooltip assigned to a column";

131
How do I change the caption being displayed in the control's filter bar

G2antt1->FilterBarCaption = L"your filter caption";
Exg2anttlib_tlb::IColumnPtr var_Column = G2antt1->Columns->Add(L"Column");
	var_Column->DisplayFilterButton = true;
	var_Column->FilterType = Exg2anttlib_tlb::FilterTypeEnum::exBlanks;
G2antt1->ApplyFilter();

130
How do I disable expanding or collapsing an item when user double clicks it
G2antt1->ExpandOnDblClick = false;
G2antt1->LinesAtRoot = Exg2anttlib_tlb::LinesAtRootEnum::exLinesAtRoot;
G2antt1->Indent = 13;
G2antt1->Columns->Add(L"Column 1");
Exg2anttlib_tlb::IItemsPtr var_Items = G2antt1->Items;
	long h = var_Items->AddItem(TVariant("Root"));
	var_Items->InsertItem(h,TNoParam(),TVariant("Child 1"));
	var_Items->InsertItem(h,TNoParam(),TVariant("Child 2"));
	var_Items->set_ExpandItem(h,true);

129
How do I search case sensitive, using your incremental search feature
G2antt1->AutoSearch = true;
G2antt1->ASCIILower = L"";
Exg2anttlib_tlb::IColumnsPtr var_Columns = G2antt1->Columns;
	var_Columns->Add(L"exStartWith")->AutoSearch = Exg2anttlib_tlb::AutoSearchEnum::exStartWith;
	var_Columns->Add(L"exContains")->AutoSearch = Exg2anttlib_tlb::AutoSearchEnum::exContains;
Exg2anttlib_tlb::IItemsPtr var_Items = G2antt1->Items;
	var_Items->set_CellValue(TVariant(var_Items->AddItem(TVariant("text"))),TVariant(1),TVariant("another text"));
Exg2anttlib_tlb::IItemsPtr var_Items1 = G2antt1->Items;
	var_Items1->set_CellValue(TVariant(var_Items1->AddItem(TVariant("text"))),TVariant(1),TVariant("another text"));

128
How do I disable the control
G2antt1->Enabled = false;

127
How do I enable the incremental search feature within a column
G2antt1->AutoSearch = true;
Exg2anttlib_tlb::IColumnsPtr var_Columns = G2antt1->Columns;
	var_Columns->Add(L"exStartWith")->AutoSearch = Exg2anttlib_tlb::AutoSearchEnum::exStartWith;
	var_Columns->Add(L"exContains")->AutoSearch = Exg2anttlib_tlb::AutoSearchEnum::exContains;
Exg2anttlib_tlb::IItemsPtr var_Items = G2antt1->Items;
	var_Items->set_CellValue(TVariant(var_Items->AddItem(TVariant("text"))),TVariant(1),TVariant("another text"));
Exg2anttlib_tlb::IItemsPtr var_Items1 = G2antt1->Items;
	var_Items1->set_CellValue(TVariant(var_Items1->AddItem(TVariant("text"))),TVariant(1),TVariant("another text"));

126
How do I call your x-script language
Exg2anttlib_tlb::IColumnPtr var_Column = G2antt1->ExecuteTemplate(L"Columns.Add(`Column`)");
	var_Column->HeaderStrikeOut = true;
	var_Column->HeaderBold = true;

125
How do I call your x-script language
G2antt1->Template = L"Columns.Add(`Column`).HTMLCaption = `<b>C</b>olumn`";

124
How do I show alternate rows in different background color

G2antt1->BackColorAlternate = RGB(240,240,240);
G2antt1->Columns->Add(L"Column");
Exg2anttlib_tlb::IItemsPtr var_Items = G2antt1->Items;
	var_Items->AddItem(TVariant("Item 1"));
	var_Items->AddItem(TVariant("Item 2"));
	var_Items->AddItem(TVariant("Item 3"));
	var_Items->AddItem(TVariant("Item 4"));
	var_Items->AddItem(TVariant("Item 5"));

123
How do I enlarge the drop down filter window
G2antt1->FilterBarDropDownHeight = -320;
Exg2anttlib_tlb::IColumnPtr var_Column = G2antt1->Columns->Add(L"Column");
	var_Column->DisplayFilterButton = true;
	var_Column->FilterBarDropDownWidth = -320;
G2antt1->Items->AddItem(TVariant("Item 1"));
G2antt1->Items->AddItem(TVariant("Item 2"));

122
How do I filter programmatically the control
Exg2anttlib_tlb::IColumnPtr var_Column = G2antt1->Columns->Add(L"Column");
	var_Column->DisplayFilterButton = true;
	var_Column->FilterType = Exg2anttlib_tlb::FilterTypeEnum::exPattern;
	var_Column->Filter = L"Item*";
G2antt1->Items->AddItem(TVariant("Item 1"));
G2antt1->Items->AddItem(TVariant(""));
G2antt1->Items->AddItem(TVariant("Item 2"));
G2antt1->ApplyFilter();

121
How do I change the font of the control's filterbar
G2antt1->FilterBarFont->Size = TVariant(long(20));
Exg2anttlib_tlb::IColumnPtr var_Column = G2antt1->Columns->Add(L"Column");
	var_Column->DisplayFilterButton = true;
	var_Column->FilterType = Exg2anttlib_tlb::FilterTypeEnum::exBlanks;
G2antt1->ApplyFilter();

120
Can I apply an EBN skin to the control's filter bar so I can change its visual appearance

G2antt1->VisualAppearance->Add(1,TVariant("c:\\exontrol\\images\\normal.ebn"));
G2antt1->FilterBarBackColor = 0x1000000;
Exg2anttlib_tlb::IColumnPtr var_Column = G2antt1->Columns->Add(L"Column");
	var_Column->DisplayFilterButton = true;
	var_Column->FilterType = Exg2anttlib_tlb::FilterTypeEnum::exBlanks;
G2antt1->ApplyFilter();

119
How do I change the background color of the control's filterbar
G2antt1->FilterBarBackColor = RGB(240,240,240);
Exg2anttlib_tlb::IColumnPtr var_Column = G2antt1->Columns->Add(L"Column");
	var_Column->DisplayFilterButton = true;
	var_Column->FilterType = Exg2anttlib_tlb::FilterTypeEnum::exBlanks;
G2antt1->ApplyFilter();

118
How do I change the foreground color of the control's filterbar

G2antt1->FilterBarForeColor = RGB(255,0,0);
Exg2anttlib_tlb::IColumnPtr var_Column = G2antt1->Columns->Add(L"Column");
	var_Column->DisplayFilterButton = true;
	var_Column->FilterType = Exg2anttlib_tlb::FilterTypeEnum::exBlanks;
G2antt1->ApplyFilter();

117
How do I change the height of the control's filterbar
G2antt1->FilterBarHeight = 32;
Exg2anttlib_tlb::IColumnPtr var_Column = G2antt1->Columns->Add(L"Column");
	var_Column->DisplayFilterButton = true;
	var_Column->FilterType = Exg2anttlib_tlb::FilterTypeEnum::exBlanks;
G2antt1->ApplyFilter();

116
How do I change the header's foreground color
G2antt1->ForeColorHeader = RGB(255,0,0);
G2antt1->Columns->Add(L"Column 1");
G2antt1->Columns->Add(L"Column 2");
G2antt1->Items->AddItem(TVariant("Item 1"));

115
I have a picture on the control's background, the question is how do I draw selection as semi-transparent
G2antt1->Picture = (IPictureDisp*)(G2antt1->ExecuteTemplate("loadpicture(`c:\\exontrol\\images\\zipdisk.gif`)"));
G2antt1->SelBackMode = Exg2anttlib_tlb::BackModeEnum::exTransparent;
G2antt1->Columns->Add(L"Column");
G2antt1->Items->AddItem(TVariant("Item 1"));
G2antt1->Items->AddItem(TVariant("Item 2"));

114
It seems that the control uses the TAB key, is there any way to avoid that
G2antt1->UseTabKey = false;

113
I have FullRowSelect property on False, how do I force the user to select cells only in a specified column
G2antt1->SelectColumnIndex = 1;
G2antt1->FullRowSelect = Exg2anttlib_tlb::CellSelectEnum::exColumnSel;
G2antt1->SelectColumn = true;
G2antt1->Columns->Add(L"Column 1");
G2antt1->Columns->Add(L"Column 2");
Exg2anttlib_tlb::IItemsPtr var_Items = G2antt1->Items;
	var_Items->set_CellValue(TVariant(var_Items->AddItem(TVariant("Item 1"))),TVariant(1),TVariant("SubItem 1"));

112
How do I assign a database to your control, using ADO, ADOR or ADODB objects
G2antt1->ColumnAutoResize = false;
G2antt1->ContinueColumnScroll = false;
/*
	Select the Component\Import Component...\Import a Type Library,
	to import the following Type Library:

		Microsoft ActiveX Data Objects 6.1 Library

	TypeLib: msado15.dll

	to define the namespace: Adodb_tlb
*/
//#include "ADODB_TLB.h"
Adodb_tlb::_RecordsetPtr rs = Variant::CreateObject(L"ADOR.Recordset");
	rs->Open(TVariant("Orders"),TVariant("Provider=Microsoft.ACE.OLEDB.12.0;Data Source=C:\\Program Files\\Exontrol\\ExG2antt\\Sample\\Access\\misc.accdb"),Adodb_tlb::CursorTypeEnum::adOpenStatic,Adodb_tlb::LockTypeEnum::adLockOptimistic,0);
G2antt1->DataSource = (IDispatch*)rs;

111
How do I change the visual appearance effect for the selected item, using EBN
G2antt1->VisualAppearance->Add(1,TVariant("c:\\exontrol\\images\\normal.ebn"));
G2antt1->SelBackColor = 0x1000000;
G2antt1->SelForeColor = RGB(0,0,0);
G2antt1->ShowFocusRect = false;
G2antt1->Columns->Add(L"Column");
G2antt1->Items->AddItem(TVariant(0));
G2antt1->Items->AddItem(TVariant(1));

110
How do I change the colors for the selected item
G2antt1->SelBackColor = RGB(0,0,0);
G2antt1->Columns->Add(L"Column");
G2antt1->Items->AddItem(TVariant(0));
G2antt1->Items->AddItem(TVariant(1));

109
How can I hide the frame/rectangle arround the focused item
G2antt1->BeginUpdate();
G2antt1->SelBackColor = G2antt1->BackColor;
G2antt1->SelForeColor = G2antt1->ForeColor;
G2antt1->ShowFocusRect = false;
G2antt1->Columns->Add(L"Column");
G2antt1->Items->AddItem(TVariant(0));
G2antt1->Items->AddItem(TVariant(1));
G2antt1->Items->AddItem(TVariant(""));
G2antt1->EndUpdate();

108
How can I change the control's font
G2antt1->Font->Name = L"Tahoma";
G2antt1->Columns->Add(L"Column");

107
I can't scroll to the end of the data. What can I do
G2antt1->ScrollBySingleLine = true;
G2antt1->DrawGridLines = Exg2anttlib_tlb::GridLinesEnum::exRowLines;
G2antt1->Columns->Add(L"Column");
Exg2anttlib_tlb::IItemsPtr var_Items = G2antt1->Items;
	var_Items->set_ItemHeight(var_Items->AddItem(TVariant(0)),13);
G2antt1->PutItems(G2antt1->GetItems(TVariant(0)),TNoParam());
Exg2anttlib_tlb::IItemsPtr var_Items1 = G2antt1->Items;
	var_Items1->set_ItemHeight(var_Items1->AddItem(TVariant(1)),26);
G2antt1->PutItems(G2antt1->GetItems(TVariant(0)),TNoParam());
Exg2anttlib_tlb::IItemsPtr var_Items2 = G2antt1->Items;
	var_Items2->set_ItemHeight(var_Items2->AddItem(TVariant(2)),36);
G2antt1->PutItems(G2antt1->GetItems(TVariant(0)),TNoParam());
Exg2anttlib_tlb::IItemsPtr var_Items3 = G2antt1->Items;
	var_Items3->set_ItemHeight(var_Items3->AddItem(TVariant(3)),48);
G2antt1->PutItems(G2antt1->GetItems(TVariant(0)),TNoParam());

106
How do I specify the column where the tree lines / hierarchy are shown

G2antt1->LinesAtRoot = Exg2anttlib_tlb::LinesAtRootEnum::exGroupLinesAtRoot;
G2antt1->TreeColumnIndex = 1;
G2antt1->Columns->Add(L"Column 1");
G2antt1->Columns->Add(L"Column 2");
Exg2anttlib_tlb::IItemsPtr var_Items = G2antt1->Items;
	long h = var_Items->AddItem(TVariant("Root 1.1"));
	var_Items->set_CellValue(TVariant(h),TVariant(1),TVariant("Root 1.2"));
	var_Items->set_CellValue(TVariant(var_Items->InsertItem(h,TNoParam(),TVariant("Child 1.1"))),TVariant(1),TVariant("Child 1.2"));
	var_Items->set_CellValue(TVariant(var_Items->InsertItem(h,TNoParam(),TVariant("Child 2.1"))),TVariant(1),TVariant("Child 2.2"));
	var_Items->set_ExpandItem(h,true);
	h = var_Items->AddItem(TVariant("Root 2.1"));
	var_Items->set_CellValue(TVariant(h),TVariant(1),TVariant("Root 2.2"));
	var_Items->set_CellValue(TVariant(var_Items->InsertItem(h,TNoParam(),TVariant("Child 1.1"))),TVariant(1),TVariant("Child 1.2"));

105
How do I specify the indentation of the child items relative to their parents

G2antt1->LinesAtRoot = Exg2anttlib_tlb::LinesAtRootEnum::exGroupLinesAtRoot;
G2antt1->Indent = 11;
G2antt1->Columns->Add(L"Column");
Exg2anttlib_tlb::IItemsPtr var_Items = G2antt1->Items;
	long h = var_Items->AddItem(TVariant("Root 1"));
	var_Items->InsertItem(h,TNoParam(),TVariant("Child 1"));
	var_Items->InsertItem(h,TNoParam(),TVariant("Child 2"));
	var_Items->set_ExpandItem(h,true);
	h = var_Items->AddItem(TVariant("Root 2"));
	var_Items->InsertItem(h,TNoParam(),TVariant("Child"));

104
Is there any option to select an item using the right button of the mouse (rclick)
G2antt1->RClickSelect = true;
G2antt1->Columns->Add(L"Column");
G2antt1->Items->AddItem(TVariant("Item 1"));
G2antt1->Items->AddItem(TVariant("Item 2"));

103
I have FullRowSelect property on False, how do I select a column
G2antt1->SelectColumnIndex = 1;
G2antt1->FullRowSelect = Exg2anttlib_tlb::CellSelectEnum::exColumnSel;

102
How can I scroll columns one by one, not pixel by pixel
G2antt1->ContinueColumnScroll = false;
G2antt1->ColumnAutoResize = false;
G2antt1->Columns->Add(L"1")->Width = 128;
G2antt1->Columns->Add(L"2")->Width = 128;
G2antt1->Columns->Add(L"3")->Width = 128;
G2antt1->Columns->Add(L"4")->Width = 128;
G2antt1->Columns->Add(L"5")->Width = 128;

101
How can I enable multiple items selection
G2antt1->SingleSel = false;
G2antt1->Columns->Add(L"Column");
G2antt1->Items->AddItem(TVariant(0));
G2antt1->Items->AddItem(TVariant(1));
G2antt1->Items->AddItem(TVariant(2));